package dms;

import java.util.Date;

/**
 * @file CarPurchase.java
 * @version 0.1
 * @author James Dibble 10009689
 */
public class CarPurchase {
    // <editor-fold defaultstate="collapsed" desc="Attributes">
    private Car carPurchased;
    private Date datePurchased;
    private double purchasePrice;
    private String purchasedFrom;
    // </editor-fold>
    // <editor-fold defaultstate="collapsed" desc="Constructors">
    public CarPurchase(Car givenCarPurchased, Date givenDatePurchased, double givenPurchasePrice, String givenPurchasedFrom) {
        carPurchased = givenCarPurchased;
        datePurchased = givenDatePurchased;
        purchasePrice = givenPurchasePrice;
        purchasedFrom = givenPurchasedFrom;
    }
    // </editor-fold>
    // <editor-fold defaultstate="collapsed" desc="Methods">
    // </editor-fold>
}
